<?php 
class viewclicksObj 
{
	var $id;
	var $bannerID;
	var $issueDate;
	var $viewTimes;
	var $clickTimes;
	var $ip;
	var $pagePositionID;
	var $otherFields;

	public function TableName() { return "viewclicks";}
	public function idFieldName() { return "id";}
	public function bannerIDFieldName() { return "bannerID";}
	public function issueDateFieldName() { return "issueDate";}
	public function viewTimesFieldName() { return "viewTimes";}
	public function clickTimesFieldName() { return "clickTimes";}
	public function ipFieldName() { return "ip";}
	public function pagePositionIDFieldName() { return "pagePositionID";}

	function viewclicksObj ($pid="",$pbannerID="",$pissueDate="",$pviewTimes="",$pclickTimes="",$pip="",$ppagePositionID="") {

		$this->id = $pid;
		$this->bannerID = $pbannerID;
		$this->issueDate = $pissueDate;
		$this->viewTimes = $pviewTimes;
		$this->clickTimes = $pclickTimes;
		$this->ip = $pip;
		$this->pagePositionID = $ppagePositionID;
	}

} 
?>